import request from "../utils/request"

export const queryInfoApi2 = (id) => request.get(`/consultant/${id}`);

//修改密码
export const updatePasswordApi2 = (username, password) => {
  return request.put(`/consultant?username=${encodeURIComponent(username)}&password=${encodeURIComponent(password)}`);
};
